\doxysection{pc\+Task\+Get\+Handle }
\hypertarget{group__pc_task_get_handle}{}\label{group__pc_task_get_handle}\index{pcTaskGetHandle@{pcTaskGetHandle}}
task. h 
\begin{DoxyPre}TaskHandle\_t xTaskGetHandle( const char *pcNameToQuery );\end{DoxyPre}


NOTE\+: This function takes a relatively long time to complete and should be used sparingly.

\begin{DoxyReturn}{Returns}
The handle of the task that has the human readable name pc\+Name\+To\+Query. NULL is returned if no matching name is found. INCLUDE\+\_\+x\+Task\+Get\+Handle must be set to 1 in \doxylink{_free_r_t_o_s_config_8h_source}{Free\+RTOSConfig.\+h} for pc\+Task\+Get\+Handle() to be available. 
\end{DoxyReturn}
